package cn.huapu.power.energy.service.impl;

import cn.huapu.power.energy.bean.Clntpowerprice;
import cn.huapu.power.energy.mapper.ClntpowerpriceMapper;
import cn.huapu.power.energy.service.ClntpowerpriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * 测试用户权限服务实现类
 * @author autogen
 *
 */
@Service
public class ClntpowerpriceServiceImpl extends BaseServiceImpl<ClntpowerpriceMapper, Clntpowerprice,Integer> implements ClntpowerpriceService {

    @Autowired
    private ClntpowerpriceMapper clntpowerpriceMapper;

    @Override
    @Transactional(readOnly = true)
    public List<Clntpowerprice> getAllElectPricePage(Map<String, Object> map) {
        List<Clntpowerprice> cls = clntpowerpriceMapper.getAllElectPricePage(map);
        return cls;
    }

    @Override
    @Transactional(readOnly = true)
    public List<Clntpowerprice> getElectPricePage(Map<String, Object> map) {
        List<Clntpowerprice> cls = clntpowerpriceMapper.getElectPricePage(map);
        return cls;
    }
}
